package com.monkey.generator.dao;

import com.monkey.generator.model.TMonkey;
import com.monkey.generator.model.TMonkeyExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TMonkeyMapper {
    long countByExample(TMonkeyExample example);

    int deleteByExample(TMonkeyExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TMonkey record);

    int insertSelective(TMonkey record);

    List<TMonkey> selectByExample(TMonkeyExample example);

    TMonkey selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TMonkey record, @Param("example") TMonkeyExample example);

    int updateByExample(@Param("record") TMonkey record, @Param("example") TMonkeyExample example);

    int updateByPrimaryKeySelective(TMonkey record);

    int updateByPrimaryKey(TMonkey record);
}